<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2025/9/9
  Time: 10:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>更新</title>
</head>
<body>
    <form action="/modifyPhone.do" method="post">
      <p><input type="text" name="inventory" placeholder="请输入库存数量"value="${phone.inventory}"></p>
      <p><input type="text" name="name" placeholder="请输入名字"value="${phone.name}"></p>
      <p><input type="text" name="model" placeholder="请输入型号"value="${phone.model}"></p>
      <p><input type="text" name="price" placeholder="请输入价格"value="${phone.price}"></p>
      <p><input type="date" name="time" placeholder="请选择时间" value="${phone.time}"></p>
        <input name="id" type="hidden" value="${phone.id}">
        <p><input type="submit" value="保存"></p>
    </form>
</body>
</html>
